package com.health.userbackstage.mapper.relationmapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.health.userbackstage.pojo.relation.CheckGroupCheckItem;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface CheckGroupCheckItemMapper extends BaseMapper<CheckGroupCheckItem> {

    @Insert("insert into checkgroup_checkitem values (#{cgid},#{ciid})")
    void add(@Param("cgid") Integer cgid,@Param("ciid") Integer ciid);



    @Delete("delete from checkgroup_checkitem where checkgroup_id = #{cgid}")
    void del(Integer cgid);

}
